#include "bridge.h"
#include <QMessageBox>
#include <QDebug>
bridge* bridge::instance()
{
    static bridge s_obj;
    return &s_obj;
}

bridge::bridge()
{
}

void bridge::showMsgBox(int idx)
{
    qDebug() << idx;
    //QMessageBox::aboutQt(0, tr("Qt"));
    emit sigDirIndexChange(idx);
}

void bridge::on_sendsig2js(QString str)
{
    //emit sendsig2js(str);
}
